{% extends "base.html" %}

{% block content %}


<div id="gridbox" style="width:99%; height:99%; background-color:white;"></div>
<script>
mygrid = new dhtmlXGridObject('gridbox');
mygrid.setImagePath("/site_media/dhtmlx/imgs/");
mygrid.setSkin("dhx_skyblue");

mygrid.setHeader("Image,ISBN,Title,Authors,");
mygrid.setInitWidths("150,100,300,200,100");
mygrid.setColTypes("ro,ro,ro,ro,link");
mygrid.setColSorting("na,str,str,str,na");
mygrid.enableMultiline(true)
mygrid.attachHeader(",#text_filter,#text_filter,#text_filter");

mygrid.init();
mygrid.loadXML("/catalogue/books/ajax/");
</script>

{% endblock %}
